/*
core_init();
*/
//Writes to the log
show_debug_message("Catbox Engine Ver. 0.1");
//Engine related
map_sprites(); //Create a list of sprites on a map, name and index paired as key and value.
specialchar_init(); //Sets corresponding values for certain special characters.
global.control = -1; /* [-1] Not in game. [0] In game, paused. [1] In game, running.*/
global.alpha_trigger = true; /*[true] Lights on. [false] Lights off*/
global.alpha_n = 1; /*[0~1] 0% - 100%*/
global.font[0] = font_add_sprite(spr_font_normal,ord("!"),true,2); /*Normal font*/
global.font[1] = font_add_sprite(spr_font_bold,ord("!"),true,2); /*Bold font*/
global.font[2] = font_add_sprite(spr_font_mini,ord("!"),true,1); /*Tiny font*/
global.font[3] = font_add_sprite(spr_font_normal,ord("0"),true,1); /*Big font*/

alarm[0] = room_speed;

//Each subsystem started
input_init();
world_init();
dialog_init();
item_init();
inventory_init();
team_init();
bgm_init();
cutscene_init();
shop_init();
menu_init();
